<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.prime.com.tr/ui">

	<ui:composition template="/templates/padraoLimpo.xhtml">
	
	
		<ui:define name="barraTitulo"> Sistema juridico</ui:define>
		
		 
		<ui:define name="conteudo"> 
			
			<h:form id="form">
				<p:focus for="login"/>
				<p:tabView id="divTabView">
					<p:tab title="Acesso ao Sistema">
						
						<h:panelGrid columns="3" columnClasses=" width50, width150 alinhaDir">
							
							
							<h:column>							
								<h:graphicImage url="/images/login.jpg" styleClass="imageField"/>
							</h:column>
							<h:column/>
							<h:column/>
							
							<h:column/>
							<h:column>
								<h:outputText value="Login:" />
							</h:column>
							<h:column>
								<h:inputText id="login" value="#{controleLogin.login}" size="25"/>
							</h:column>	
							
							<h:column/>
							<h:column>
								<h:outputText value="Senha:" />
							</h:column>
							<h:column>
								<h:inputSecret id="senha" value="#{controleLogin.senha}" size="25"/>
							</h:column>	
							
							<h:column/>
							<h:column/>
							<p:messages/>
							
						</h:panelGrid>
					</p:tab>
				</p:tabView>
				<h:panelGrid columns="2" columnClasses=" width50, width150 alinhaEsq">
					<h:column/>
					<h:column>
						<h:commandLink action="#{controleLogin.acessar}" styleClass="alinhaDir">
							<h:graphicImage url="/images/botoes/btnAcessar.gif" styleClass="imageField"/>
						</h:commandLink>
					</h:column>				
				</h:panelGrid>
			</h:form>
	
	
	
		</ui:define>
	
	

	</ui:composition>

</html>